package cn.bugstack.domain.rebate.service;

import cn.bugstack.domain.rebate.model.entity.BehaviorEntity;
import cn.bugstack.domain.rebate.model.entity.BehaviorRebateOrderEntity;

import java.util.List;

/**
 * @Author: Zchy
 * @Description: 行为返利接口
 * @DateTime: 12/12/2024 1:17 PM
 **/
public interface IBehaviorRebateService {
    /*
     * 创建行为动作的入账订单
     *
     * @author: Zchy
     * @date: 12/12/2024 7:52 PM
     * @param: behaviorEntity 行为实体对象，传入行为实体对象创建返利订单
     * @return: java.util.List<java.lang.String> 返利订单ID
    **/
    List<String> createOrder(BehaviorEntity behaviorEntity);

    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
